#ifndef THRESHOLD_H
#define	THRESHOLD_H

#include "Effect.h"
#include "Gray.h"

class Threshold : public Effect {
public:
    Threshold(int threshold, int maxValue, int thresholdType = CV_THRESH_BINARY);
    virtual ~Threshold();

    virtual IplImage* apply(const IplImage* in);
    
private:
    const int threshold, maxValue, thresholdType;
    Gray grayEffect;

};

#endif	/* THRESHOLD_H */

